public class Circle extends PlaneGraphic
{
    private double r;

    public Circle(int r)
    {
        this.r = r;
    }

    public double CalculateArea()
    {
        return r * r * Math.PI;
    }

    public double CalculatePerimeter()
    {
        return r * Math.PI * 2;
    }
}
